package com.gzh.custom.spring.boot.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description:
 * @package: com.gzh.custom.spring.boot.autoconfigure
 * @Auther: Pf.Guo
 * @Date: Created in 2021/5/10 10:43
 */
@ConfigurationProperties(prefix = CustomProperties.CUSTOM_PREFIX)
public class CustomProperties {

    public static final String CUSTOM_PREFIX = "custom";

    private String username;

    private String password;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
